package net.cloudcodex.client.campaign.view;

import net.cloudcodex.client.widgets.VerticalTabLayoutPanel;

import com.google.gwt.event.logical.shared.HasBeforeSelectionHandlers;
import com.google.gwt.event.logical.shared.HasSelectionHandlers;
import com.google.gwt.i18n.client.Messages;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Label;

/**
 * 
 * 
 * @author ADaroussin
 */
public interface CampaignsView extends IsWidget {

	public interface Message extends Messages {
		public String getCampaignTabName();

		public String getMessagesTitle();

		public String getNoMessages();

		public String getCharactersInCampaignTitle();

		public String getNotificationButton();

		public String getCampaignConfigButton();

		public String getStoryBoardButton();

		public String getCharactersListButton();

		public String getStartedOn();

		public String getModifyButton();

		public String getPublicDescription();

		public String getNameLbl();

		public String getGameLbl();

		public String getIconLbl();

		public String getCreateButton();

		public String getCancelButton();

		public String getAddNPCButton();

		public String getAddPCButton();
	}

	public int addCampaignTab(IsWidget view, String name);


	public void refreshCampaignTabName(CampaignView view, String name);

	public HasSelectionHandlers<Integer> getCampaignTab();
//	public HasBeforeSelectionHandlers<Integer> getCampaignTab();
	

	public void selectCampaignTab(Integer index);

}
